Cleantalk\Common\UniversalBanner\UniversalBanner S

Total Complexity 29
Dependencies 2
Dependents 0
Total lines 195
Lines of code 87
Logical lines of code 52
Comment lines 66
Methods 11
Properties 5

Methods 11

Method Rating Maintainability Complexity Lines of code
preRender()
A
50 10 29
doReplacements()
S
67 4 7
__construct()
S
62 3 11
validateBodyReplacementResult()
S
67 3 8
render()
S
66 2 9
setBannerButtonVisibility()
S
70 2 6
echoBannerBody()
S
77 1 4
sanitizeBodyOnEcho()
S
82 1 3
renderString()
S
77 1 4
sanitizeBodyString()
S
80 1 3
showBannerButton()
S
82 1 3